package demoday4;

public class Item<T> {
	private int itemId;
	private  T item;
	private int quantity;
	public int getItemId() {
		return itemId;
	}
	public void setItemId(int itemId) {
		this.itemId = itemId;
	}
	public T getItem() {
		return item;
	}
	public void setItem(T item) {
		this.item = item;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public Item(int itemId, T item, int quantity) {
		super();
		this.itemId = itemId;
		this.item = item;
		this.quantity = quantity;
	}
	public Item() {
		// TODO Auto-generated constructor stub
	}

}
